package com.nail.soulda.person;

import java.util.Random;

public class SoulDa extends IPerson {
	public SoulDa() {
		super();
	}

	public SoulDa(String _name, int type) {
		super(_name, type);
		Random r = new Random(super.name.hashCode() + (String.valueOf(super.sex)).hashCode());
		super.blood = (int)(r.nextDouble() * 1000);
		super.attack = (int)(r.nextDouble()*1000/2);
		super.defence = (int)(r.nextDouble()*1000/2);
	}	
}
